package com.zking.ssm.sys.service;

import com.zking.ssm.sys.model.HotelRoom;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelRoomService {

    int deleteByPrimaryKey(Integer id);

    int insert(HotelRoom record);

    int insertSelective(HotelRoom record);

    @Transactional(readOnly = true)
    HotelRoom selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelRoom record);

    int updateByPrimaryKey(HotelRoom record);

    @Transactional(readOnly = true)
    List<HotelRoom> list(HotelRoom hotelRoom, PageBean pageBean);

}
